﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.ServiceModel;
using System.Runtime.Serialization;

namespace WcfService
{
    [DataContract]
    public class WCFOperateDataBase
    {
    }

    [ServiceContract(Name = "WCFOperateBase")]
    public interface IWCFOperateBase<WCFOperateDataBase>
    {
        [OperationContract]
        bool Insert(IList<WCFOperateDataBase> listObj);

        [OperationContract]
        bool Update(IList<WCFOperateDataBase> listObj);

        [OperationContract]
        bool Delete(params int[] i);

        [OperationContract]
        IList<WCFOperateDataBase> Select();
    }
}
